<template>
  <view class="index">
    <nut-row class="index-list">
      <nut-col>
        <nut-button class="start" type="success" size="large" @click="start">开始测试</nut-button>
      </nut-col>
    </nut-row>
    <nut-row  class="index-list">
      <nut-col>
        <div class="index-text">本测试仅供娱乐</div>
      </nut-col>
    </nut-row>
  </view>
</template>

<script>
import './index.less'
import Taro from '@tarojs/taro'
export default {
  data() {
    return {

    }
  },
  methods: {
    start() {
      Taro.navigateTo({
        url: '/pages/test/test'
      })
    },
  },
  mounted() {
  },
  onShareAppMessage() {
    return {
      title: '快来测测你的IQ吧',
      path: '/pages/index/index',
    }
  },
  onShareTimeline() {
    return {
      title: '快来测测你的IQ吧',
      path: '/pages/index/index',
    }
  }
}
</script>

<style lang="scss">
</style>
